package com.slliver.nacosconfig.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "spring.druid") // 实现自动配置刷新，推荐使用这种
public class CommonProperties {


    private String url;
    private String username;
    private String password;

}
